package com.solution.admin.coupon.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.solution.common.entity.BaseEntity;

/**
 * 优惠券领用信息实体类
 * 
 * @author xu_cc
 * @date 2017-11-16 11:11:57
 */
public class CouponGetEntity extends BaseEntity {
	private static final long serialVersionUID = -3926291988306842687L;
	/* customerName */
	private String customerName;
	/* 优惠券名称 */
	private String couponName;
	/* 优惠券面值 */
	private BigDecimal couponAmount;
	/* 使用条件金额 */
	private BigDecimal conditionAmount;
	/**
	 * 优惠券ID
	 */
	private Long couponId;

	/**
	 * 用户编码
	 */
	private Long customerId;

	/**
	 * 有效期开始时间
	 */
	private Date beginTime;

	/**
	 * 有效期结束时间
	 */
	private Date endTime;

	/**
	 * 是否已用（1=已用，0=尚未使用）
	 */
	private int isUsed;

	/**
	 * 使用时间
	 */
	private Date usedTime;

	/**
	 * 使用单据号
	 */
	private String billCode;
	
	/**
	 * 优惠券通知状态
	 */
	private int notice;

	/**
	 * 优惠券ID
	 */
	public Long getCouponId() {
		return couponId;
	}

	public void setCouponId(Long couponId) {
		this.couponId = couponId;
	}

	/**
	 * 用户编码
	 */

	/**
	 * 有效期开始时间
	 */
	public Date getBeginTime() {
		return beginTime;
	}

	/**
	 * @return the customerId
	 */
	public Long getCustomerId() {
		return customerId;
	}

	/**
	 * @param customerId
	 *            the customerId to set
	 */
	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	/**
	 * 有效期结束时间
	 */
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 * 是否已用（1=已用，0=尚未使用）
	 */
	public int getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(int isUsed) {
		this.isUsed = isUsed;
	}

	/**
	 * 使用时间
	 */
	public Date getUsedTime() {
		return usedTime;
	}

	public void setUsedTime(Date usedTime) {
		this.usedTime = usedTime;
	}

	/**
	 * @return the couponName
	 */
	public String getCouponName() {
		return couponName;
	}

	/**
	 * @param couponName
	 *            the couponName to set
	 */
	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}

	/**
	 * @return the couponAmount
	 */
	public BigDecimal getCouponAmount() {
		return couponAmount;
	}

	/**
	 * @param couponAmount
	 *            the couponAmount to set
	 */
	public void setCouponAmount(BigDecimal couponAmount) {
		this.couponAmount = couponAmount;
	}

	/**
	 * @return the conditionAmount
	 */
	public BigDecimal getConditionAmount() {
		return conditionAmount;
	}

	/**
	 * @param conditionAmount
	 *            the conditionAmount to set
	 */
	public void setConditionAmount(BigDecimal conditionAmount) {
		this.conditionAmount = conditionAmount;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	/**
	 * @return the customerName
	 */
	public String getCustomerName() {
		return customerName;
	}

	/**
	 * @param customerName
	 *            the customerName to set
	 */
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public int getNotice() {
		return notice;
	}

	public void setNotice(int notice) {
		this.notice = notice;
	}

}
